package com.hdax.dm.mapstucts.descMapper;

import com.hdax.dm.beans.item.Item;
import com.hdax.dm.beans.item.comment;
import com.hdax.dm.dto.descDto.getCommentsDto;
import com.hdax.dm.dto.seniorityDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "Spring")
public abstract class getCommentsDtoMapper {
    public abstract getCommentsDto toTarget(comment source);

    public abstract List<getCommentsDto> toTargetList(List<comment> sources);
}
